<?php

namespace App\Models;

use App\Models\Model;

class Ordergoods extends Model
{
    protected $table = 'shop_ordergoods';

    public function goods(){
        return $this->belongsTo('App\Models\Goods','GOODSGUID','GUID');
    }
    public function goodsAttach(){
        return $this->belongsTo('App\Models\GoodsAttach','GOODSGUID','GOODSGUID');
    }


}
